package com.usefullc.system.domain;

import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.*;

@ApiModel("国际化信息")
@Entity(name = "sys_local_info")
@Data
public class LocalInfo extends BaseEntity {

    @ApiModelProperty(notes = "类型（0 提示消息，1 app label, 2 other ）")
    @Column(length = 4,nullable = false)
    private Integer type;

    @ApiModelProperty(notes = "关键字")
    @Column(name="[key]",length = 100,nullable = false)
    private String key;

    @ApiModelProperty(notes = "应用类型")
    @Column(length = 10,nullable = false)
    private String appType;

}
